fix rect buttons styles