Fixed #3756?

It seems to be fixed, but I don't know the good development habits for
jade/whatever technology it is. Please comment & close if the fix is not
acceptable.
Merge pull request #3760 from Skyyrunner/develop

Fixed #3756?