Fixes #1208
# Conflicts: # osu-framework
Uses GetContainingInputManager instead, as per framework changes.