Fixed visual bugs and rounding problems.