Fixed bug in MoveMonitors due to taking the mod of a negative number.