Issue #2056739 by B-Prod: Incorrect language handling when displaying entity pages using Panels.