Fix leak in UniqueHandle assignment operator.
Flip SDL surfaces converted to textures.