- Fixed a segmentation fault when creating and using a LocalDrawablesSelection class.
- Some raw pointers has been converted into shared pointers.