Fixing scroll bug that was introduced with the previous imgui commit.