Deactivate preview layer on mobile

Fix #1144