Call getBounds only on initialized objects.