RGB texture fix for Safari