Ensure that translations never change the size of a contrast effect / blur regions
Some translations would result in values that, when rounded, would change the size of the translated element by one pixel. This MR simplifies translations so that no such thing can happen.