Fixes some situations where element is 'offscreen'