Fix instability in loader shaders