enforce dimensions for Light and Text entities

Fixes the bug where lights appear to blink when they move out of view.