How can I set a framerate cap for my fixed-framerate game, including the packaged game?

The “fixed-framerate” tickbox in the project settings → General settings does not actually cap the framerate, but instead makes the delta time passed into tick events always be the same. I do want that, but the problem is the framerate is still uncapped, so everything moves incredibly fast, depending on the hardware.

How can I set the framerate cap for my game, and not just the editor itself?