fix spaceship input logic, thanks to @gamedevsam for mention, close #15