1px page flicker fix