Fixed a bug in the escape menu