Fixed GUI texture code bug