fix pixel editing