Fixed zoom bug that used to occur with constant input