Separated game updates from rendering. Still some difficulties