Fix sketch permissions crash on 2.3.3