Troubleshooting resizing of buttons