Fixed NPE when placing blocks above the replacer