fix rotate after cancel print