Ball is bounded inside canvas