fixed image resolution glitch