MCP: probably fix crash from flip mode, and debug modifier state in pothandler