fix wrong dependency of RectEngine