Fixed Image.getSize bug