BUG FIX: Scaling of images corrected