Changed rect drawing