Implemented a workaround for an issue with edge artifacts on sprites.