Fixed bug in the Portfolio II portal mode