Resized event move to gamePanel rectangle.