fixes bug left-click navigation called on wrong elements