ImageBlock fix, moved doctrine listeners