Fixed prompt when there are no objects on the board

Previously, unintended prompt appear when images and blocks are both
present.