Avoid reset after rotation