Added feature to release mouse by pressing "Space"