Fixed gamepanel not drawing problem