Fixed a couple of issues with the select frame.