This is the result of your patch
https://bug870612.bugzilla.mozilla.org/attachment.cgi?id=748103

As you can see it's working. Test it again in a real device please.