Fixed dimension bug - buttons