Update src/controls.js

Fix for two-way with jump set to zero.