Reset item model when reference is reset (Fixes #1628)

This caused crashes when the window was resized after the reference no longer exists (e.g. when a savegame is loaded)