Fixed problem with vertical slots losing buttons when horizontal slots disposed.