Fixed touch device layers bug.