Implemented dimension detection and switched to relative positioning in mouse jump.