Fixed bug where selection via mouseclick did not update the model/.