Neither of these questions has a minimal complete and verifiable example
The first has a dump of code and a line that says that somewhere within there you get "Object does not support method splice"
- Calling what function with which arguments?
- What line does the error occur on?
- what does remove a bullet from an array mean? What does that statement mean in terms of the code dump.
- is all the code in the code dump really required to recreate this issue? Is there any code not present that would be required to recreate the issue
The second question has a small amount of pseudo code. We can't run that, so we can't use it to recreate the problem. You claim that image with some arguments distorts the image
- what image is that?
- what does it look like if it's distorted? Screenshots would help.
- is is distorted without scaling?
- where's your testcase we can compile and run so that answerers can test any suggestions we might make?
- at the end you ask a completely unrelated additional question about disabling rotation.
So help us to help you, if you don't you'll just get more downvotes because you're wasting our time asking us to read a question which cannot be answered.
The fact that your questions are currently closed because they must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. should really have told you all this already. Stop waiting, start editing and fixing.
EDIT
section of the second one is irrelevant.Bonus as it doesn't need another question: How do I prevent rotation of the screen
is still irrelevant to your question.