fixed box size buttons issue on mac
more adjustments to previous fix