Added portal sprite, fixed some metric bugs