fix restoring guicursor option

thanks @haya14busa