updated fragment shader to not color negative margin values