Recplaced BoundinbBox with Rectangle2D.float