Fixed some details with fragment shaders