Fix layers control on WinPhone8/IE10 Touch

Fixes #1539