MI's side discolor fix
My own fix for the side discoloring bug in software that Jimita previously tried to fix (see !429 (closed)); it turned out it was caused by certain lights failing an overflow test when calculating their heights and therefore being skipped. Instead of this, I clamped said heights.