Fixed black background on JPGs on rotate