Fixed crash on Next button press at image effects fragment

Fixed image scale ratio calculation