It was only needed because the normal modifiers path considered caps lock as shift lock (cherry picked from commit a917d188)