Issue #1197: The patient menu doesn't work correctly in Internet Explorer 9
The good fix

(cherry picked from commit 9a688a02561bf4abb340bfa888f7f1f06c2904bd)