Fixed rescale bug in image view