Fixed sigsegv on the selection component
Merge pull request #313 from CynicRus/master

Fixed sigsegv on the selection component