fixed a sneaky bug where views could be bound before being rendered.