Fix calendar's paintCell
Fix sigsegv