fix background moving bug