Stopped trigging magnification (from gallery view) if users clicks the record type image.

See also svn revision 16906.