Added cursor mode dependency