Fixed bug where selection would not work.