Fixed a bug where minLeft, maxLeft, minTop, and maxTop were not accounting for the system unit.