Fixes to the positioning in the microswitch template