fixes rendering markers