This fix makes marker based input somewhat usable