flickering background image fix