Reimplemented cursor system.