Fix rotate for IE9