Implemented Fix for Texture Bug