corrected background and framerate