VS window snaps back to a default position