Fix background image recording.