cast and director table view bounds fix