Fix for https://github.com/PANmedia/raptor-editor/issues/109