Corrected camelcasing of lineCap and lineJoin.

I believe a patch renaming variables in made to #1863 overlooked a couple more changes that needed to be made.