Fix restrictions rendering on FF (fixes #2241)