fix shadow artifacts in gl