Made SelectBox account for list background size

Addresses issue #1982
Merge pull request #1983 from ThePickleMan/master

Made SelectBox account for list background size