Fix frame warning for gpu localy instead of globaly