Fix for the NullpointerException upon copying a copied brick