Removed dependency on images for object processing

Rectangles were being ignored because they didnt have a gid tag.