Fixes pencil image break