Added placeObject support and fix JPEG3