Bug fix: The getWidth() and getHeight() methods on the Robot class have always returned 40, even though a robot is 36x36 pixels in size. Hence, getWidth() and getHeight() have been changed to return the correct width and height, which is 36.