Check arguments length
Fix for remaking screenshot