Changing more to getBounds()