It seems you could just nullify the player movement whenever a panel opens.