There seems to be no way to programatically deselect (remove sizing handles) of a ImageLayer that got selected automatically after programatically creating it on a ImageEnView.
All deselection functions don't seem to work for this (it keeps the grab handles).