Fixes #5152: Correct correctButtons function