fixed drawing ships on resized window