fixed bug that could cause crash when artwork changes editor palette size