Removing unwanted vertical padding in the alignment

Fixes SL#4792