Fix for render layer precision.

- The problem is the use of float units with buffers having a size in
integer pixels.