Fixed crush when rotate device