cursor rendering