Have you tried to alt-tab out and back in? Sometimes for me, the window loses focus even if it is still showing, especially in borderless window mode. Does it to me and this fixes it for me.