if we specify the image size before, the screen doesn't flickering