Use bottom() and right() from rect class