bugfix: fix delete box on rotation