fix image tile bug