Fix IE9 bug

This PR:


- Fix #1253 
- Fix focus management when we activate a draw tool
- Fix a diget cycle error when deleting selected features