fixed using buttons on main screen with size other than 32x32 pixels