fixed multiple updates when gamestate is dirty