When you are at The Portal chapter, you have to retrieve some ore from within a bush of tentacles. Pressing M to open the mechanical hook does not seem to work. It works if you press M and then Esc or some combination thereof.
The Portal