attempt to fix bug where a opaque texture has transparency if it is loaded after a transparent texture