Fixed the command's facing check