Update GamePanel.java

small math correction.