improve auto-layout compatibility by removing surrounding box and stick to layer transformation