Modify PNG texture loader