Fix shader code (caused exception on mac)