Add screenshot functionality with frame selection 