fixed pixel cut bug (take 2)