Fix mistake in Graphics/Input.js library.