fixed shader compilation error and fullscreen mode