Rename hitboxes property in settings to showHitboxes.
Update collision loop to draw hitboxes only if this property is set to true.