Fixed rendering
Render only when necessary