Hack fix for firefox android layers control. refs #2033
Comment why this hack exists and improve it with @mourner code :)
Merge pull request #2171 from danzel/hack-2033

Fix layers control on firefox android