issue #2276: Modify ScrollView and LuaScrollView class