fix resizing bug with right-hand axes