Fixed sprite leaving the window