Fix for scrollbar showiing for off-screen objects