Fix mouse controls on shipyard screen
Guard against phase differences in refresh rates