made rendering work correctly for non-static game objects