fix rect sizes as well