HOTFIX: bigger annotation boxes would cover smaller ones on the annotator tool. It was impossible to click on smaller boxes. This was solved by adding the OL features in order of X coordinates. Also done some minor code cleanup and optimisations.