Use floats for autoresizing and round to integers for the CGLayer's frame.