implemented pixel perfection support