make sure inputs are always visible by correcting the x-coordinate (closes #193)