Fixes controls and layering.