small rectangle bug fixes, still not working…