Clamp cursor location when using a software cursor
Removed unused ScapesConfig class