Added limits on character frame bounds