It would be great to research this issue more, since it's a dirty workaround. If this is bug in QNX, you should file a report to Blackberry