cursor and brush helpers