Implied status
If you apply to extend your permit, and your visitor visa expires while you are waiting for a decision, you still have temporary resident (visitor) status. This is known as implied status
Source:
http://www.cic.gc.ca/english/visit/extend-stay.asp
I'm pretty sure it is allowed as your status has not expired.