Updated the renderPanel construction arguments