fixed bug where selection marker could be removed with annotations unintentionally