fix the bug of background drifting