Viewmodel disappears when i minimize my game

im working on a pvp game and for some reason whenever i minimize my screen the viewmodel disappears. it doesnt give me any errors, it just disappears so i have no clue what could be going on.

edit:it looks like the bug happens because of fps unlocker, still unsure why tho