No segfault on window resize
Slimmed down Render