Changed background animation and fixed framerate bug