Added getBounds() to TextComponent