Fixed rig size bug