Fixed strange green renderbug with help from IRC:fry