hud and object drawing is now working correctly