you'll have the same problem as before if size.width or height are ever odd, right? maybe floor here.