Fixes image cropping and transparent transitions