Added GL offset to fix drawing bug