Revert "[Rendering] Fix for white line issue on drawPattern."

This reverts commit 1a3e1ea2c9290052ae50db4c298b76ce069d0402.