rendering and movement, but fast flickering