Fixed crop mask bugs