Fixed issue with non-aligned axes after multiple setExtremes with internal redraws. Closes #2169.