fix possible blurry effect on layout items

It is possible to get blurry items if their size is not integer.
This fix this behavior by calling CGRectIntegral on the item frame.