Added code which reneders a rectangle around the buttonlist