It is indeed not correct to place such vessels in this manner, especially if they can be touched by dogs. The temple should maintain the cleanliness of the vessels appropriately.
It appears that the prasadam can be placed in a vessel or bucket that is separate from the temple vessels.