Quick fix to make removal of features work again in for the VectorLayer
Added 'debug' effect