Fixed pause menu being displayed under other lines/nodes