resolve issue #27. pixel perfect outline