Fixed some selection bugs
Merge pull request #88 from skinny121/selection

Fixed some selection bugs