Try to fix flickering when loading new image