Fixing issue where sheet would close by draging