rendering cursor