adds getBounds() to Image class