Fix for horizontal scrollbar reset vertical scrollbar position and vice versa.