small fix for custom images on rotation