Fixed issues which prevented show view and layer commands from working on 64 bits

1. Replaced `frame` with `bounds`. Without it, a process started growing memory. Xcode either did not respond when I attempted to stop the process, or Xcode crashed if it successfully stopped the process.
2. Replaced `0` with `0.0`. Without it, the context was not created.