added a safety check for non solid transparant blocks