I think this is intended gameplay. Part of the puzzle is figuring out what string of button presses will get the desired result.