add relative icon and fix floatingpoint exception on first drag into container